<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>新星列表</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="format-detection" content="telephone=no"/>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />
    <link rel="stylesheet" href="../../css/style.css" media="all" />
</head>

<body class="childrenBody">
<blockquote class="layui-elem-quote actor_search">
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input type="text" value="" placeholder="请输入关键字" class="layui-input search_input"/>
        </div>
        <a class="layui-btn search_btn">查询</a>
    </div>
</blockquote>
<div class="layui-form actors_list" id="actors_list">
    <table class="layui-table">
        <!--<colgroup>-->
            <!--<col width="50"/>-->
            <!--<col width="20%"/>-->
            <!--<col width="20%"/>-->
            <!--<col width="20%"/>-->
            <!--<col width="20%"/>-->
        <!--</colgroup>-->
        <thead>
        <tr>
            <th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"/></th>
            <th>名字</th>
            <th>性别</th>
            <th>身高</th>
        </tr>
        </thead>
        <tbody class="actors_content" id="actorListTb">

        </tbody>
    </table>
</div>
<div id="pagination"></div>

<!--<div style="text-align: center;">-->
    <!--<button class="layui-btn layui-btn-default" id="closeIframe">确定</button>-->
<!--</div>-->

<script type="text/html" id="actorList">
    {{if list != null}}
    {{each list as value i}}
    <tr>
        <td><input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose"/></td>
        <td style="text-align:left;" actorId="{{value.id}}">{{value.name}}</td>
        {{if (value.gender == 0)}}
            <td>男</td>
        {{else if value.gender == 1}}
            <td>女</td>
        {{else}}
            <td>未知</td>
        {{/if}}
        <td>{{value.height}}cm</td>
    </tr>
    {{/each}}
    {{else}}
    <tr style="text-align: center;"><td colspan="4">暂无数据</td></tr>
    {{/if}}
</script>


<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/uManager/actorList.js?version=1.0.1"></script>
<script type="text/javascript" src="../../js/common/template.js"></script>


</body>
</html>